home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / WD_SRC.ZIP / SOURCE / CLINE.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  683 b   |  30 lines

  1. class CLine
  2. {
  3. public:
  4.     void SetTextureXLength( WORD newLength );
  5.  
  6.  
  7.     Angle lineAngle;
  8.     
  9.     // These must be there.
  10.     CPoint *pPoint1, *pPoint2;
  11.  
  12.     // Tells where the texture will be placed on the Line.
  13.     WORD texOriginX, texOriginY, texHorzX, texHorzY;
  14.  
  15.     // Either of these can be set to BAD_TEXTURE_ID, in which case
  16.     // that side isn't drawn.
  17.     TextureID      idLeftTex, idRightTex;
  18.  
  19.     // If either of these is NULL, it's a terminal node in the BSP tree.
  20.     CLine *pLeft, *pRight;
  21.  
  22.     // Normalized plane equation coefficents for the Line.  (Ax + By = -C)
  23.     Fixed A, B, C;
  24.  
  25.     // For solid walls .. just a temp thing.
  26.     BYTE wallColor;
  27. };
  28.  
  29.  
  30.